FROM openjdk:latest

LABEL maintainer="1621856595@qq.com"

VOLUME /tmp

COPY target/security-standalone-stomp.jar app.jar

ENV LANG C.UTF-8

RUN bash -c "touch /app.jar"

EXPOSE 8080

ENTRYPOINT ["java", "-jar", "app.jar", "--server.address=0.0.0.0 --server.port=8080", "> /log/app.log"]